﻿namespace RBS.Common.JsonEntity
{
    /// <summary>
    /// ReturnMessages
    /// </summary>

    public class JsonReturnMessages
    {
        /// <summary>
        /// Gets or sets a value indicating whether this instance is success.
        /// </summary>
        /// <value>
        /// 	<c>true</c> if this instance is success; otherwise, <c>false</c>.
        /// </value> 
        public bool IsSuccess
        {
            get;
            set;
        } 
        /// <summary>
        /// Gets or sets the MSG.
        /// </summary>
        /// <value>The MSG.</value>

        public string Msg
        {
            get;
            set;
        } 
        /// <summary>
        /// Gets or sets the public key.
        /// </summary>
        /// <value>The public key.</value> 
        public object Data
        {
            get;
            set;
        }
    }

    public class JsonImgMsg
    {
        public int status { get; set; }
        public string msg { get; set; }
        public string name { get; set; }
        public string path { get; set; }
        public string thumb { get; set; }
        public int size { get; set; }
        public string ext { get; set; }
    }

    public class JsonData
    {
        public bool Success { get; set; }
        public object Data { get; set; }
        public string Error { get; set; }
        public int PageSize { get; set; }
        public int Page { get; set; }
        public int TotalPage { get; set; }
        public int Count { get; set; }
    }

    public class JsonDataList
    {
        public bool Success { get; set; }
        public object Data { get; set; }
        public string Error { get; set; }
        public int PageSize { get; set; }
        public int Page { get; set; }
        public int TotalPage { get; set; }
        public int Count { get; set; }
    }

    public class CheckModel
    {
        //  context.Response.Write("{ \"info\":\"手机号码已被占用，请更换！\", \"status\":\"n\" }");
        public string info { get; set; }
        public string status { get; set; }
    }

    public class MapInfo
    {
        public string info { get; set; }
        public int status { get; set; }
        public string _id { get; set; }
    }
}
